//////////////////////////////////////////////
// MapResult.h
//
//////////////////////////////////////////////

/// Defines / Macros -------------------------

#pragma once

/// Includes ---------------------------------

// nkGraphics
#include "../Dll/DllDefines.h"

#include "../Utils/DxDefinesWrapper.h"

/// Class ------------------------------------

namespace nkGraphics
{
	struct DLL_GRAPHICS_EXPORT MapResult
	{
		// Pointer
		unsigned char* _data = nullptr ;

		// Layout info
		unsigned int _rowPitch = 0 ;
		unsigned int _depthPitch = 0 ;

		// For textures or where format is known
		FORMAT _format = UNKNOWN_FORMAT ;
	} ;
}